Integrand size = 24, antiderivative size = 140 \[ \int (a+b x)^3 \sqrt {a^2-b^2 x^2} \, dx=\frac {7}{8} a^3 x \sqrt {a^2-b^2 x^2}-\frac {7 a^2 \left (a^2-b^2 x^2\right )^{3/2}}{12 b}-\frac {7 a (a+b x) \left (a^2-b^2 x^2\right )^{3/2}}{20 b}-\frac {(a+b x)^2 \left (a^2-b^2 x^2\right )^{3/2}}{5 b}+\frac {7 a^5 \arctan \left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{8 b} \]
-7/12*a^2*(-b^2*x^2+a^2)^(3/2)/b-7/20*a*(b*x+a)*(-b^2*x^2+a^2)^(3/2)/b-1/5 *(b*x+a)^2*(-b^2*x^2+a^2)^(3/2)/b+7/8*a^5*arctan(b*x/(-b^2*x^2+a^2)^(1/2)) /b+7/8*a^3*x*(-b^2*x^2+a^2)^(1/2)
Time = 0.43 (sec) , antiderivative size = 111, normalized size of antiderivative = 0.79 \[ \int (a+b x)^3 \sqrt {a^2-b^2 x^2} \, dx=\frac {\sqrt {a^2-b^2 x^2} \left (-136 a^4+15 a^3 b x+112 a^2 b^2 x^2+90 a b^3 x^3+24 b^4 x^4\right )}{120 b}-\frac {7 a^5 \log \left (-\sqrt {-b^2} x+\sqrt {a^2-b^2 x^2}\right )}{8 \sqrt {-b^2}} \]
(Sqrt[a^2 - b^2*x^2]*(-136*a^4 + 15*a^3*b*x + 112*a^2*b^2*x^2 + 90*a*b^3*x ^3 + 24*b^4*x^4))/(120*b) - (7*a^5*Log[-(Sqrt[-b^2]*x) + Sqrt[a^2 - b^2*x^ 2]])/(8*Sqrt[-b^2])
Time = 0.26 (sec) , antiderivative size = 148, normalized size of antiderivative = 1.06, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {469, 469, 455, 211, 224, 216}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int (a+b x)^3 \sqrt {a^2-b^2 x^2} \, dx\) |
\(\Big \downarrow \) 469 |
\(\displaystyle \frac {7}{5} a \int (a+b x)^2 \sqrt {a^2-b^2 x^2}dx-\frac {(a+b x)^2 \left (a^2-b^2 x^2\right )^{3/2}}{5 b}\) |
\(\Big \downarrow \) 469 |
\(\displaystyle \frac {7}{5} a \left (\frac {5}{4} a \int (a+b x) \sqrt {a^2-b^2 x^2}dx-\frac {(a+b x) \left (a^2-b^2 x^2\right )^{3/2}}{4 b}\right )-\frac {(a+b x)^2 \left (a^2-b^2 x^2\right )^{3/2}}{5 b}\) |
\(\Big \downarrow \) 455 |
\(\displaystyle \frac {7}{5} a \left (\frac {5}{4} a \left (a \int \sqrt {a^2-b^2 x^2}dx-\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}\right )-\frac {(a+b x) \left (a^2-b^2 x^2\right )^{3/2}}{4 b}\right )-\frac {(a+b x)^2 \left (a^2-b^2 x^2\right )^{3/2}}{5 b}\) |
\(\Big \downarrow \) 211 |
\(\displaystyle \frac {7}{5} a \left (\frac {5}{4} a \left (a \left (\frac {1}{2} a^2 \int \frac {1}{\sqrt {a^2-b^2 x^2}}dx+\frac {1}{2} x \sqrt {a^2-b^2 x^2}\right )-\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}\right )-\frac {(a+b x) \left (a^2-b^2 x^2\right )^{3/2}}{4 b}\right )-\frac {(a+b x)^2 \left (a^2-b^2 x^2\right )^{3/2}}{5 b}\) |
\(\Big \downarrow \) 224 |
\(\displaystyle \frac {7}{5} a \left (\frac {5}{4} a \left (a \left (\frac {1}{2} a^2 \int \frac {1}{\frac {b^2 x^2}{a^2-b^2 x^2}+1}d\frac {x}{\sqrt {a^2-b^2 x^2}}+\frac {1}{2} x \sqrt {a^2-b^2 x^2}\right )-\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}\right )-\frac {(a+b x) \left (a^2-b^2 x^2\right )^{3/2}}{4 b}\right )-\frac {(a+b x)^2 \left (a^2-b^2 x^2\right )^{3/2}}{5 b}\) |
\(\Big \downarrow \) 216 |
\(\displaystyle \frac {7}{5} a \left (\frac {5}{4} a \left (a \left (\frac {a^2 \arctan \left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{2 b}+\frac {1}{2} x \sqrt {a^2-b^2 x^2}\right )-\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}\right )-\frac {(a+b x) \left (a^2-b^2 x^2\right )^{3/2}}{4 b}\right )-\frac {(a+b x)^2 \left (a^2-b^2 x^2\right )^{3/2}}{5 b}\) |
-1/5*((a + b*x)^2*(a^2 - b^2*x^2)^(3/2))/b + (7*a*(-1/4*((a + b*x)*(a^2 - b^2*x^2)^(3/2))/b + (5*a*(-1/3*(a^2 - b^2*x^2)^(3/2)/b + a*((x*Sqrt[a^2 - b^2*x^2])/2 + (a^2*ArcTan[(b*x)/Sqrt[a^2 - b^2*x^2]])/(2*b))))/4))/5
3.8.78.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[x*((a + b*x^2)^p/(2*p + 1 )), x] + Simp[2*a*(p/(2*p + 1)) Int[(a + b*x^2)^(p - 1), x], x] /; FreeQ[ {a, b}, x] && GtQ[p, 0] && (IntegerQ[4*p] || IntegerQ[6*p])
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*A rcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a , 0] || GtQ[b, 0])
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b}, x] && !GtQ[a, 0]
Int[((c_) + (d_.)*(x_))*((a_) + (b_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[d*(( a + b*x^2)^(p + 1)/(2*b*(p + 1))), x] + Simp[c Int[(a + b*x^2)^p, x], x] /; FreeQ[{a, b, c, d, p}, x] && !LeQ[p, -1]
Int[((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[ d*(c + d*x)^(n - 1)*((a + b*x^2)^(p + 1)/(b*(n + 2*p + 1))), x] + Simp[2*c* ((n + p)/(n + 2*p + 1)) Int[(c + d*x)^(n - 1)*(a + b*x^2)^p, x], x] /; Fr eeQ[{a, b, c, d, p}, x] && EqQ[b*c^2 + a*d^2, 0] && GtQ[n, 0] && NeQ[n + 2* p + 1, 0] && IntegerQ[2*p]
Time = 2.49 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.67
method | result | size |
risch | \(-\frac {\left (-24 b^{4} x^{4}-90 a \,b^{3} x^{3}-112 a^{2} b^{2} x^{2}-15 a^{3} b x +136 a^{4}\right ) \sqrt {-b^{2} x^{2}+a^{2}}}{120 b}+\frac {7 a^{5} \arctan \left (\frac {\sqrt {b^{2}}\, x}{\sqrt {-b^{2} x^{2}+a^{2}}}\right )}{8 \sqrt {b^{2}}}\) | \(94\) |
default | \(a^{3} \left (\frac {x \sqrt {-b^{2} x^{2}+a^{2}}}{2}+\frac {a^{2} \arctan \left (\frac {\sqrt {b^{2}}\, x}{\sqrt {-b^{2} x^{2}+a^{2}}}\right )}{2 \sqrt {b^{2}}}\right )+b^{3} \left (-\frac {x^{2} \left (-b^{2} x^{2}+a^{2}\right )^{\frac {3}{2}}}{5 b^{2}}-\frac {2 a^{2} \left (-b^{2} x^{2}+a^{2}\right )^{\frac {3}{2}}}{15 b^{4}}\right )+3 a \,b^{2} \left (-\frac {x \left (-b^{2} x^{2}+a^{2}\right )^{\frac {3}{2}}}{4 b^{2}}+\frac {a^{2} \left (\frac {x \sqrt {-b^{2} x^{2}+a^{2}}}{2}+\frac {a^{2} \arctan \left (\frac {\sqrt {b^{2}}\, x}{\sqrt {-b^{2} x^{2}+a^{2}}}\right )}{2 \sqrt {b^{2}}}\right )}{4 b^{2}}\right )-\frac {a^{2} \left (-b^{2} x^{2}+a^{2}\right )^{\frac {3}{2}}}{b}\) | \(212\) |
-1/120*(-24*b^4*x^4-90*a*b^3*x^3-112*a^2*b^2*x^2-15*a^3*b*x+136*a^4)/b*(-b ^2*x^2+a^2)^(1/2)+7/8*a^5/(b^2)^(1/2)*arctan((b^2)^(1/2)*x/(-b^2*x^2+a^2)^ (1/2))
Time = 0.26 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.68 \[ \int (a+b x)^3 \sqrt {a^2-b^2 x^2} \, dx=-\frac {210 \, a^{5} \arctan \left (-\frac {a - \sqrt {-b^{2} x^{2} + a^{2}}}{b x}\right ) - {\left (24 \, b^{4} x^{4} + 90 \, a b^{3} x^{3} + 112 \, a^{2} b^{2} x^{2} + 15 \, a^{3} b x - 136 \, a^{4}\right )} \sqrt {-b^{2} x^{2} + a^{2}}}{120 \, b} \]
-1/120*(210*a^5*arctan(-(a - sqrt(-b^2*x^2 + a^2))/(b*x)) - (24*b^4*x^4 + 90*a*b^3*x^3 + 112*a^2*b^2*x^2 + 15*a^3*b*x - 136*a^4)*sqrt(-b^2*x^2 + a^2 ))/b
Time = 0.53 (sec) , antiderivative size = 150, normalized size of antiderivative = 1.07 \[ \int (a+b x)^3 \sqrt {a^2-b^2 x^2} \, dx=\begin {cases} \frac {7 a^{5} \left (\begin {cases} \frac {\log {\left (- 2 b^{2} x + 2 \sqrt {- b^{2}} \sqrt {a^{2} - b^{2} x^{2}} \right )}}{\sqrt {- b^{2}}} & \text {for}\: a^{2} \neq 0 \\\frac {x \log {\left (x \right )}}{\sqrt {- b^{2} x^{2}}} & \text {otherwise} \end {cases}\right )}{8} + \sqrt {a^{2} - b^{2} x^{2}} \left (- \frac {17 a^{4}}{15 b} + \frac {a^{3} x}{8} + \frac {14 a^{2} b x^{2}}{15} + \frac {3 a b^{2} x^{3}}{4} + \frac {b^{3} x^{4}}{5}\right ) & \text {for}\: b^{2} \neq 0 \\\sqrt {a^{2}} \left (\begin {cases} a^{3} x & \text {for}\: b = 0 \\\frac {\left (a + b x\right )^{4}}{4 b} & \text {otherwise} \end {cases}\right ) & \text {otherwise} \end {cases} \]
Piecewise((7*a**5*Piecewise((log(-2*b**2*x + 2*sqrt(-b**2)*sqrt(a**2 - b** 2*x**2))/sqrt(-b**2), Ne(a**2, 0)), (x*log(x)/sqrt(-b**2*x**2), True))/8 + sqrt(a**2 - b**2*x**2)*(-17*a**4/(15*b) + a**3*x/8 + 14*a**2*b*x**2/15 + 3*a*b**2*x**3/4 + b**3*x**4/5), Ne(b**2, 0)), (sqrt(a**2)*Piecewise((a**3* x, Eq(b, 0)), ((a + b*x)**4/(4*b), True)), True))
Time = 0.31 (sec) , antiderivative size = 96, normalized size of antiderivative = 0.69 \[ \int (a+b x)^3 \sqrt {a^2-b^2 x^2} \, dx=\frac {7 \, a^{5} \arcsin \left (\frac {b x}{a}\right )}{8 \, b} + \frac {7}{8} \, \sqrt {-b^{2} x^{2} + a^{2}} a^{3} x - \frac {1}{5} \, {\left (-b^{2} x^{2} + a^{2}\right )}^{\frac {3}{2}} b x^{2} - \frac {3}{4} \, {\left (-b^{2} x^{2} + a^{2}\right )}^{\frac {3}{2}} a x - \frac {17 \, {\left (-b^{2} x^{2} + a^{2}\right )}^{\frac {3}{2}} a^{2}}{15 \, b} \]
7/8*a^5*arcsin(b*x/a)/b + 7/8*sqrt(-b^2*x^2 + a^2)*a^3*x - 1/5*(-b^2*x^2 + a^2)^(3/2)*b*x^2 - 3/4*(-b^2*x^2 + a^2)^(3/2)*a*x - 17/15*(-b^2*x^2 + a^2 )^(3/2)*a^2/b
Time = 0.30 (sec) , antiderivative size = 81, normalized size of antiderivative = 0.58 \[ \int (a+b x)^3 \sqrt {a^2-b^2 x^2} \, dx=\frac {7 \, a^{5} \arcsin \left (\frac {b x}{a}\right ) \mathrm {sgn}\left (a\right ) \mathrm {sgn}\left (b\right )}{8 \, {\left | b \right |}} - \frac {1}{120} \, \sqrt {-b^{2} x^{2} + a^{2}} {\left (\frac {136 \, a^{4}}{b} - {\left (15 \, a^{3} + 2 \, {\left (56 \, a^{2} b + 3 \, {\left (4 \, b^{3} x + 15 \, a b^{2}\right )} x\right )} x\right )} x\right )} \]
7/8*a^5*arcsin(b*x/a)*sgn(a)*sgn(b)/abs(b) - 1/120*sqrt(-b^2*x^2 + a^2)*(1 36*a^4/b - (15*a^3 + 2*(56*a^2*b + 3*(4*b^3*x + 15*a*b^2)*x)*x)*x)
Timed out. \[ \int (a+b x)^3 \sqrt {a^2-b^2 x^2} \, dx=\int \sqrt {a^2-b^2\,x^2}\,{\left (a+b\,x\right )}^3 \,d x \]